/**
 * 项目名：化工企业安全生产信息化管理平台
 * 日期：    2020-03-01 22:19:08
 * Copyright (c) 2015- -版权所有
 */

package com.joysuch.wwyt.edu.service;

import com.joysuch.wwyt.core.exception.BusinessRestrictionsException;
import com.joysuch.wwyt.edu.bean.EduExamUserAnswerDetailBean;
import com.joysuch.wwyt.edu.bean.EduExamUserAnswerEditBean;
import com.joysuch.wwyt.edu.entity.EduExamUserAnswer;

public interface EduExamUserAnswerService {

    public EduExamUserAnswer add(EduExamUserAnswerEditBean entity);

    void update(EduExamUserAnswerEditBean entity);

    void delete(Long id) throws BusinessRestrictionsException;

    EduExamUserAnswerDetailBean getById(Long id);

    EduExamUserAnswer findById(Long id);

    EduExamUserAnswer selectByQuestionId(Long questionId,Long examRecordId);

    Long countByQuestionId(Long questionId);
}
